<?php
/**
 * TOP API: taobao.alitrip.travel.item.element.query request
 * 
 * @author auto create
 * @since 1.0, 2018.07.25
 */
class AlitripTravelItemElementQueryRequest
{
	/** 
	 * 需要查询的资源元素列表，最大列表长度为50
	 **/
	private $outerIds;
	
	private $apiParas = array();
	
	public function setOuterIds($outerIds)
	{
		$this->outerIds = $outerIds;
		$this->apiParas["outer_ids"] = $outerIds;
	}

	public function getOuterIds()
	{
		return $this->outerIds;
	}

	public function getApiMethodName()
	{
		return "taobao.alitrip.travel.item.element.query";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->outerIds,"outerIds");
		RequestCheckUtil::checkMaxListSize($this->outerIds,50,"outerIds");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
